package org.springframework.boot.netty.support;

import org.springframework.lang.Nullable;

/**
 * Author: huoxingzhi
 * Date: 2020/12/28
 * Email: hxz_798561819@163.com
 */
public class ModelAndView {

    /** View instance or view name String. */
    @Nullable
    private Object view;

    /** Model Map. */
    @Nullable
    private Model model = new Model();

    @Nullable
    public Object getView() {
        return view;
    }

    public void setView(@Nullable Object view) {
        this.view = view;
    }

    @Nullable
    public Model getModel() {
        return model;
    }

    public void setModel(@Nullable Model model) {
        this.model = model;
    }
}
